home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / Sessions / Traut / ZStrings / Source / Win32 / Win32ZStringTools.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-06-23  |  2.1 KB  |  83 lines

  1. /*==================================================================
  2.     File:        Win32ZStringTools.h
  3.  
  4.     Contains:    Main header file for the Win32ZStringTools application
  5.  
  6.     Written by:    Nalini Prakash
  7.  
  8.     Copyright:    2000-2001 Connectix Corporation
  9.     
  10.     This source has been placed into the public domain by
  11.     Connectix Corporation. You have the right to modify, 
  12.     distribute or use this code without any legal limitations
  13.     or finanicial/licensing requirements. Connectix is not 
  14.     liable for any problems that result from the use of this 
  15.     code.
  16.     
  17.     If you have comments, feedback, questions, or would like
  18.     to submit bug fixes or updates to this code, please email
  19.     opensource@connectix.com.
  20. ==================================================================*/
  21.  
  22. #if !defined(AFX_WIN32ZSTRINGTOOLS_H__9243C695_02CB_4B6D_8493_57698EE33DE4__INCLUDED_)
  23. #define AFX_WIN32ZSTRINGTOOLS_H__9243C695_02CB_4B6D_8493_57698EE33DE4__INCLUDED_
  24.  
  25. #if _MSC_VER > 1000
  26. #pragma once
  27. #endif // _MSC_VER > 1000
  28.  
  29. #ifndef __AFXWIN_H__
  30.     #error include 'stdafx.h' before including this file for PCH
  31. #endif
  32.  
  33. #include "resource.h"        // main symbols
  34. #include "ZStringTypes.h"
  35.  
  36. /////////////////////////////////////////////////////////////////////////////
  37. // CWin32ZStringToolsApp:
  38. // See Win32ZStringTools.cpp for the implementation of this class
  39. //
  40.  
  41. class CWin32ZStringToolsApp : public CWinApp
  42. {
  43. public:
  44.     CWin32ZStringToolsApp();
  45.  
  46. // Overrides
  47.     // ClassWizard generated virtual function overrides
  48.     //{{AFX_VIRTUAL(CWin32ZStringToolsApp)
  49.     public:
  50.     virtual BOOL InitInstance();
  51.     //}}AFX_VIRTUAL
  52.  
  53. // Implementation
  54.  
  55.     //{{AFX_MSG(CWin32ZStringToolsApp)
  56.     //}}AFX_MSG
  57.     DECLARE_MESSAGE_MAP()
  58. };
  59.  
  60.  
  61.  
  62. BOOL
  63. OpenMemMappedFile(
  64.     const char *        inPathName,
  65.     HANDLE &            outFileHandle,
  66.     HANDLE &            outMemfileHandle,
  67.     char *&                outData,
  68.     Z_UInt32 &            outSize);
  69.  
  70. void 
  71. CloseFiles(
  72.     void *        inData,
  73.     HANDLE &    inMemFileHandle,
  74.     HANDLE &    inFileHandle);
  75.  
  76. /////////////////////////////////////////////////////////////////////////////
  77.  
  78. //{{AFX_INSERT_LOCATION}}
  79. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  80.  
  81. #endif // !defined(AFX_WIN32ZSTRINGTOOLS_H__9243C695_02CB_4B6D_8493_57698EE33DE4__INCLUDED_)
  82.  
  83.